ComponentOne ASP.NET MVC Controls
ItemValidator Method (InputDateBaseBuilder<TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > InputDateBaseBuilder<TControl,TBuilder> Class : ItemValidator Method
The value.
Configurates C1.Web.Mvc.InputDateBase.ItemValidator. Sets the name of a validator javascript function to determine whether dates are valid for selection.
Syntax
'Declaration
 
Public Function ItemValidator( _
   ByVal value As String _
) As TBuilder
public TBuilder ItemValidator( 
   string value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
If specified, the validator function should take one parameter representing the date to be tested, and should return false if the date is invalid and should not be selectable.
See Also

Reference

InputDateBaseBuilder<TControl,TBuilder> Class
InputDateBaseBuilder<TControl,TBuilder> Members